package com.ihisomp.service;

import com.ihisomp.base.Result;
import com.ihisomp.dto.SysUserDto;
import com.ihisomp.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户信息 服务类
 * </p>
 *
 * @author zy
 * @since 2022-04-15
 */
public interface ISysUserService extends IService<SysUser> {

    Result search(long page, long size, SysUserDto sysUserDto);

    Result add(SysUserDto sysUserDto);

    Result update(String userKey, SysUserDto sysUserDto);

    Result get(String userKey);

    Result updateStatus(String userKey, int activeFlg);

    Result updatePwd(SysUserDto sysUserDto);
}
